package com.dgut.dao;

import com.dgut.entity.Record;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface RecordDao {

    public void insertRecord(Record record);

    public Record getRecordByStuIdAndDate(String stuId, String date);

    public List<Record> getRecordByDate(String date);

    public List<Record> getRecordBySchool(String school);

    public List<Record> getRecordBySchoolAndDate(String school, String date);
}
